#!/usr/bin/env python3
# coding:utf8

import time
import sys
reload(sys)
sys.setdefaultencoding( "utf8" )
from flask import *
import warnings
warnings.filterwarnings("ignore")
import MySQLdb
import MySQLdb.cursors
from config import *

app = Flask(__name__)
app.config.from_object(__name__)

@app.route('/')
def index()
	return "this is index"

@app.route('/post/<post-id>')
def post(post-id)
	print(post-id)
	return "this is a post %s".format(post-id)



if __name__ == '__main__':
	app.run(debug=true,host='0.0.0.0')

